import java.util.Scanner;

public class Main{
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请录入一个整数表示星期");
        int week = sc.nextInt();
        switch(week){
            case 1,2,3,4,5-> System.out.println("工作日");
            case 6,7-> System.out.println("休息日");
            default -> System.out.println("没有这个星期日");
        }
    }
}

/*public class Main {
    public static void main(String[] args) {
        int x = 1234;
        int temp = x;
        int num = 0;
        while (x!=0) {
            int ge = x%10;
            x /= 10;
            num =num*10+ge;
        }
        System.out.println(num);
    }
}

public class Main{
    public static void main(String[] args) {
        for (int i = 1; i <= 5; i++) {
            System.out.println("小老虎"+i+"包子");
            if (i == 3) {
                break;
            }

        }
    }
}


public class Main{
    public static void main(String[] args) {
            int i = 0;
            for(i = 1;i<=100;i+=2){
                if(i%7==0||i/10==7||i%10==7)
                {
                    System.out.println(i);
                }
            }
    }
}

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入一个整数");
        int number = sc.nextInt();
        for (int i = 1; i <= number; i++) {
            if (i * i == number) {
                System.out.println(i + "就是" + number + "平方根");
                break;
            } else if (i * i > number) {
                System.out.println(i - 1 + "就是" + number + "平方根");
                break;
            }
        }
    }
}

public class Main{
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入一个正整数");
        int number = sc.nextInt();
        boolean flag = true ;
        for(int i = 2;i<=number;i++) {
            if (number % i == 0) {
                flag = false;
                break;
            }
        }
            if(flag==true){
                System.out.println(number+"是一个质数");
            }
            else{
                System.out.println(number+"不是一个质数");
            }
        }
    }
*/













